<h1>Listing definite_discharges</h1>

<table>
  <tr>
    <th>Student</th>
    <th>Discharge date</th>
    <th>Info</th>
    <th>Is active</th>
  </tr>

<% @definite_discharges.each do |definite_discharge| %>
  <tr>
    <td><%=h definite_discharge.student %></td>
    <td><%=h definite_discharge.discharge_date %></td>
    <td><%=h definite_discharge.info %></td>
    <td><%=h definite_discharge.is_active %></td>
    <td><%= link_to 'Show', definite_discharge %></td>
    <td><%= link_to 'Edit', edit_definite_discharge_path(definite_discharge) %></td>
    <td><%= link_to 'Destroy', definite_discharge, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New definite_discharge', new_definite_discharge_path %>